Class Instance

Summary

Fully Qualified Name: Laminas\Form\Annotation\Instance
Extends: AbstractStringAnnotation

Description

Instance (formerly "object") annotation

Use this annotation to specify an object instance to use as the bound object of a form or fieldset

Methods

Name Description Defined By
__construct() Receive and process the contents of an annotation AbstractStringAnnotation
getObject() Retrieve the object Instance

Method Details

__construct()

Receive and process the contents of an annotation

Parameter Name Type Description
$data array

Returns:

getObject()

Retrieve the object

Returns: null|string

Top